package com.beone.admin.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * <p>
 * 任务附件
 * </p>
 *
 * @author Pagenny
 * @date 2019-05-19 17:00
 **/
@ApiModel("任务附件")
public class TaskAttachmentForm {

    @ApiModelProperty(value = "类型（1：图片；2：视频）", name = "type")
    private Integer type;
    @ApiModelProperty(value = "附件名称", name = "name")
    private String name;
    @ApiModelProperty(value = "路径", name = "url")
    private String url;
    @ApiModelProperty(value = "文件大小（kb）", name = "size")
    private BigDecimal size;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public BigDecimal getSize() {
        return size;
    }

    public void setSize(BigDecimal size) {
        this.size = size;
    }
}
